Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改agent 缓存的lastUpdate 更新策略 #469

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

yangbinnnn
Copy link
Contributor

原来只在AgentVersion,IP, PluginVersion 变化时,才做缓存更新,
这样一个问题的是没有准确记录agent 的心跳时间,从而导致基于lastUpdate
的一些判断没有意义, 比如DeleteStaleAgents 或者基于lasteUpdate
实现的agent.alive 存活状态就无法实现

原来只在AgentVersion,IP, PluginVersion 变化时,才做缓存更新,
这样一个问题的是没有准确记录agent 的心跳时间,从而导致基于lastUpdate
的一些判断没有意义, 比如DeleteStaleAgents 或者基于lasteUpdate
实现的agent.alive 存活状态就无法实现
@laiwei laiwei merged commit bef896a into open-falcon:master Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants